package com.jiabowen.store.mapper;

import com.jiabowen.store.entity.Order;
import com.jiabowen.store.entity.OrderItem;

public interface OrderMapper {
    /**
     * 插入订单数据
     * @param order 订单数据
     * @return 受影响行数
     */
    Integer insertOrder(Order order);
    /**
     * 插入订单数据
     * @param orderItem
     * @return
     */
    Integer insertOrderItem(OrderItem orderItem);
}
